package top.hcode.hoj.config;

import org.nutz.filepool.FilePool;
import org.nutz.filepool.NutFilePool;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author orangej
 * @since 2025/2/19
 */
@Configuration
public class FilePoolConfig {

    @Bean
    public FilePool filePool() {
        return new NutFilePool("./tmp", 128);
    }

}
